.container {
  background-color: #f5f5f5;
  min-height: 100vh;
}

.header {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 10px;
}

.doctorInfo {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info {
  flex: 1;
}

.name {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.name h2 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

.status {
  margin-left: 10px;
}

.detail {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

.stats {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.statItem {
  text-align: center;
}

.statValue {
  font-size: 18px;
  font-weight: bold;
}

.statValue.rating {
  color: #ff6b35;
}

.statValue.default {
  color: #333;
}

.statLabel {
  color: #999;
  font-size: 12px;
}

.section {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 10px;
}

.sectionTitle {
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: bold;
}

.sectionContent {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
}

.bottomActions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  padding: 15px 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  gap: 15px;
}

.followButton {
  flex: 1;
}

.consultButton {
  flex: 2;
}

.bottomSpacer {
  height: 80px;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: 16px;
  color: #666;
}

.error {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: 16px;
  color: #666;
}

/* 评论列表样式 */
.loadingReviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  color: #999;
}

.reviewsList {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.reviewItem {
  padding: 15px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background-color: #fafafa;
}

.reviewHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.reviewUser {
  display: flex;
  align-items: center;
  gap: 8px;
}

.userAvatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.userName {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.reviewRating {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 16px;
  color: #ddd;
}

.starActive {
  color: #ff6b35;
}

.reviewContent {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.reviewTag {
  display: inline-block;
  padding: 4px 8px;
  background-color: #e6f4ff;
  color: #1677ff;
  border-radius: 12px;
  font-size: 12px;
  margin-bottom: 5px;
}

.reviewTime {
  color: #999;
  font-size: 12px;
}

.noReviews {
  text-align: center;
  color: #999;
  padding: 40px 20px;
  font-size: 14px;
}

/* 发布评论区域样式 */
.commentSection {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.commentTitle {
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.commentInput {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.submitButton {
  align-self: flex-end;
  min-width: 100px;
}

